package com.homwork.Bean;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class Pay {
    /**
     * 消费金额
     *
     */
    private int price;
    public void count(){
       double a=   this.price*0.8;
        System.out.println("实际消费金额:"+a);

    }
}
